package info.motteke.kurumi;

import info.motteke.mixivoice4j.User;
import info.motteke.mixivoice4j.UserUpdateListener;

import java.util.Collection;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class UserDisplayListener implements UserUpdateListener {

    private static final Log logger = LogFactory.getLog(UserDisplayListener.class);

    @Override
    public void onUserUpdate(Collection<User> users) {
        for(User user : users){
            logger.info("ユーザ : " + user.getNickName() + "が更新されました。");
        }
    }
}
